package com.ll.homework;

/**
 * @author 刘龙
 * @version 1.0
 */
public class HomeWork05 {
    public static void main(String[] args) {
        new A().test();
    }
}

class A {
    private final String name = "ll";

    public void test() {
        class B {
            private final String name = "ll2";

            public void show() {
                System.out.println(name);
                System.out.println(A.this.name);
            }
        }

        new B().show();
    }
}



